home *** CD-ROM | disk | FTP | other *** search
- /*
- * For legal stuff see the file COPYRIGHT
- */
- #import <appkit/appkit.h>
-
- #define OWNER "Stopwatch"
-
- /* Attribute names */
- #define INVOICE_NUM "InvoiceNum"
- #define INVOICE_DIR "InvoiceDir"
- #define HIDE_ON_AUTO "HideOnAutoLaunch"
- #define SHOW_END_TIMES "ShowEndTimes"
- #define MY_NAME "MyName"
- #define MY_COMPANY "MyCompany"
- #define MY_STREET "MyStreet"
- #define MY_CITY "MyCity"
- #define MY_STATE "MyState"
- #define MY_ZIP "MyZip"
- #define MY_PHONE "MyPhone"
- #define MY_FAX "MyFax"
- #define MY_EMAIL "MyEmail"
-
- #define PUT_DEFAULT(attr,value) NXWriteDefault(OWNER, attr, value)
- #define GET_DEFAULT(attr) NXGetDefaultValue(OWNER, attr)
-
- @interface Preferences:Object
- {
- id directoryText;
- id invoiceNumberText;
- id hideButton;
- id endTimesButton;
- id window;
- id form;
- }
-
- - ok:sender;
- - revert:sender;
- - reset:sender;
- - chooseDir:sender;
- - display;
- - (BOOL)hideOnAutoLaunch;
- - (BOOL)showEndTimes;
-
- - (const char *)myName;
- - (const char *)myCompany;
- - (const char *)myStreet;
- - (const char *)myCity;
- - (const char *)myState;
- - (const char *)myZip;
- - (const char *)myPhone;
- - (const char *)myFax;
- - (const char *)myEmail;
-
- @end
-